home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / bbsdoors / ckit258.zip / CKIT_TC.ZIP / BCC_CPP.MAK next >
Makefile  |  1993-06-01  |  1KB  |  50 lines

  1. #  Turbo C make file for CKIT
  2. #
  3. #  You will need to set some paths below for TLINK and
  4. # set you memory model below to MODEL=s or MODEL=m for
  5. # whichever memory model you are using. (small or medium)
  6. #
  7.  
  8. # Must have this MACRO defined for CKITDEMO to compile correctly
  9. # This is only necassary when compiling the CKITDEMO.C program
  10. # since it was designed to be compiled with MSC or TURBO C.
  11. # (the -DCOMPILER switch in ckitdemo.mak)
  12.  
  13. # Memory model to use
  14. MODEL=s
  15.  
  16.  
  17. # compiler flags, MUST use the -a flag for WORD alignment!
  18. # These flags are set for NO stack checking, WORD alignment, compile only,
  19. # standard stack frame. Macro COMPILER is used CKITDEMO.C
  20.  
  21. CFLAGS=-m$(MODEL) -N- -r- -v- -M- -c -k -y- -I..\INCLUDE -DCOMPILER=TURBOC
  22. BCC=BCC $(CFLAGS)
  23.  
  24. # Library locations
  25. LIB=..\LIB
  26.  
  27. #General inference rules
  28. #Rule to make .OBJ from .C files
  29.  
  30. .C.OBJ:
  31.       $(BCC) $*.C
  32.  
  33. # Rule to make executable
  34. OBJLIST=ckitdemo.obj
  35.  
  36. ckitdemo.exe:  $(OBJLIST)
  37.  
  38. # I could not get TLINK to look in the enviroment for LIB paths
  39. # or get BCC to include the info. for TLINK to use the LIB files
  40. # needed.  I had to include the paths\filenames on the cmd line
  41. # below so you will need to modify them for you paths etc.
  42.  
  43.  TLINK /l /m /v $(LIB)\c0$(MODEL) $(OBJLIST), ckitt$(MODEL).exe,, \
  44.   $(LIB)\c$(MODEL) $(LIB)\ckit_t$(MODEL) $(LIB)\math$(MODEL) $(LIB)\emu
  45.  
  46. # Dependencies for obj files
  47.  
  48. ckitdemo.obj:  ckitdemo.c  ckitdemo.h ckit.h
  49.  
  50.